package com.aft.terra.common.bean;

import java.io.Serializable;

public class DateBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String startDate;
	private String endDate;
	private String type;
	
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public boolean equals(Object obj) {
		DateBean s = (DateBean) obj;
		return startDate.equals(s.startDate) && endDate.equals(s.endDate);
	}

	public int hashCode() {
		String in = startDate + endDate;
		return in.hashCode();
	}
}
